package com.mtnz.njk.Mapper;

import com.mtnz.njk.entity.PraiseResearchEntity;
import tk.mybatis.mapper.common.Mapper;

/**
* @Description:    研究院点赞接口
* @Author:         ZPX
* @CreateDate:     2019/7/18 18:24
* @Version:        1.0
*/
@org.apache.ibatis.annotations.Mapper
public interface PraiseResearchMapper extends Mapper<PraiseResearchEntity> {

    //删除点赞记录
    Integer deletePraiseResearch(PraiseResearchEntity praiseResearchEntity) throws  Exception;

    //查询
    PraiseResearchEntity findById(String researchId,String userId)throws Exception;
}
